package cn.hnc.checkapi.bean.response;

import java.io.Serializable;

public class ResponseEntiry implements Serializable {
   private static final long serialVersionUID = 4662380240282012047L;
   private String msgDesc;
   private Integer msgCode;
   private Object data;

   public String getMsgDesc() {
      return this.msgDesc;
   }

   public Integer getMsgCode() {
      return this.msgCode;
   }

   public Object getData() {
      return this.data;
   }

   public void setMsgDesc(final String msgDesc) {
      this.msgDesc = msgDesc;
   }

   public void setMsgCode(final Integer msgCode) {
      this.msgCode = msgCode;
   }

   public void setData(final Object data) {
      this.data = data;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ResponseEntiry)) {
         return false;
      } else {
         ResponseEntiry other = (ResponseEntiry)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label47: {
               Object this$msgDesc = this.getMsgDesc();
               Object other$msgDesc = other.getMsgDesc();
               if (this$msgDesc == null) {
                  if (other$msgDesc == null) {
                     break label47;
                  }
               } else if (this$msgDesc.equals(other$msgDesc)) {
                  break label47;
               }

               return false;
            }

            Object this$msgCode = this.getMsgCode();
            Object other$msgCode = other.getMsgCode();
            if (this$msgCode == null) {
               if (other$msgCode != null) {
                  return false;
               }
            } else if (!this$msgCode.equals(other$msgCode)) {
               return false;
            }

            Object this$data = this.getData();
            Object other$data = other.getData();
            if (this$data == null) {
               if (other$data != null) {
                  return false;
               }
            } else if (!this$data.equals(other$data)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof ResponseEntiry;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $msgDesc = this.getMsgDesc();
      result = result * 59 + ($msgDesc == null ? 43 : $msgDesc.hashCode());
      Object $msgCode = this.getMsgCode();
      result = result * 59 + ($msgCode == null ? 43 : $msgCode.hashCode());
      Object $data = this.getData();
      result = result * 59 + ($data == null ? 43 : $data.hashCode());
      return result;
   }

   public String toString() {
      return "ResponseEntiry(msgDesc=" + this.getMsgDesc() + ", msgCode=" + this.getMsgCode() + ", data=" + this.getData() + ")";
   }
}
